//
//  TTHttpManager.h
//  ExhibitionHall
//
//  Created by 王洋 on 2019/6/3.
//  Copyright © 2019 王洋. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "TTHttpRequest.h"

NS_ASSUME_NONNULL_BEGIN

@interface TTHttpManager : NSObject

+(NSMutableDictionary *)cacheBase64ParamWithDic:(NSMutableDictionary *)dic;
/**
 * Get
 */
+(void)getRequestWithUrl:(NSString *)url TimeOut:(NSInteger)timeOut GetData:(NSDictionary *)getData FinishBlock:(finishBlock)finishBlock FailedBlock:(failedBlock)failedBlock;

/**
 * Post
 */
+(void)postRequestWithUrl:(NSString *)url TimeOut:(NSInteger)timeOut PostData:(NSDictionary *)postData FinishBlock:(finishBlock)finishBlock FailedBlock:(failedBlock)failedBlock;


///**
// *imageDict:  -- >  key为：文件保存名称 value为：UIimage对象
// */
//+(void)postImgMsgWithUrl:(NSString *)url postDict:(NSDictionary *)postDict TimeOut:(NSInteger)timeOut imageData:(NSDictionary *)imageDict FinishBlock:(finishBlock)finishBlock FailedBlock:(failedBlock)failedBlock;

@end

NS_ASSUME_NONNULL_END
